package com.gov.dna.project.service.impl;


import com.gov.dna.base.service.impl.BaseNodeServiceImpl;
import com.gov.dna.project.entity.Project;
import com.gov.dna.project.mapper.ProjectMapper;
import com.gov.dna.project.service.ProjectService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * 项目Service实现类
 * @author (作者) Dong Jie 154046519@qq.com
 * @version V1.0
 * @date 2018/12/5 21:36
 * @since (该版本支持的JDK版本) 1.8
 */
@Service
@AllArgsConstructor
public class ProjectServiceImpl extends BaseNodeServiceImpl<ProjectMapper, Project> implements ProjectService {

	@Override
	public Boolean updateStatus(Project project) {
		baseMapper.updateStatus(project);
		return Boolean.TRUE;
	}
}
